package com.guigu.community.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.guigu.community.mapper.OrderItemsMapper;
import com.guigu.community.mapper.OrderMapper;
import com.guigu.community.pojo.OrderItems;
import com.guigu.community.service.OrderItemsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderItemsServiceImpl extends ServiceImpl<OrderItemsMapper, OrderItems> implements OrderItemsService {
    @Autowired
    private OrderItemsMapper orderItemsMapper;
    @Override
    public List<OrderItems> queryOrderItemsId(Integer oid) {
        return orderItemsMapper.selectOrderItemId(oid);
    }
}
